home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / usr / src / linux-headers-2.6.20-15 / init / Makefile < prev   
Encoding:
Makefile  |  2007-04-12  |  874 b   |  29 lines

  1. #
  2. # Makefile for the linux kernel.
  3. #
  4.  
  5. obj-y                := main.o version.o mounts.o initramfs.o
  6. obj-$(CONFIG_GENERIC_CALIBRATE_DELAY) += calibrate.o
  7.  
  8. mounts-y            := do_mounts.o
  9. mounts-$(CONFIG_BLK_DEV_RAM)    += do_mounts_rd.o
  10. mounts-$(CONFIG_BLK_DEV_INITRD)    += do_mounts_initrd.o
  11. mounts-$(CONFIG_BLK_DEV_MD)    += do_mounts_md.o
  12.  
  13. # files to be removed upon make clean
  14. clean-files := ../include/linux/compile.h
  15.  
  16. # dependencies on generated files need to be listed explicitly
  17.  
  18. $(obj)/version.o: include/linux/compile.h
  19.  
  20. # compile.h changes depending on hostname, generation number, etc,
  21. # so we regenerate it always.
  22. # mkcompile_h will make sure to only update the
  23. # actual file if its content has changed.
  24.  
  25. include/linux/compile.h: FORCE
  26.     @echo '  CHK     $@'
  27.     $(Q)$(CONFIG_SHELL) $(srctree)/scripts/mkcompile_h $@ \
  28.     "$(UTS_MACHINE)" "$(CONFIG_SMP)" "$(CONFIG_PREEMPT)" "$(CC) $(CFLAGS)"
  29.